## Process this file with automake to produce Makefile.in
#
# qucs-filter/Makefile.am
#
# Automake input file.
#
# Copyright (C) 2004, 2006 Stefan Jahn <stefan@lkcc.org>
#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this package; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
# Boston, MA 02110-1301, USA.
#

MOCHEADERS = qucsactivefilter.h transferfuncdialog.h helpdialog.h
MOCFILES = $(MOCHEADERS:.h=.moc.cpp)

include ../common.mk

bin_PROGRAMS = qucsactivefilter

dist_man_MANS = qucsactivefilter.1

qucsactivefilter_SOURCES = main.cpp qucsactivefilter.cpp filter.cpp helpdialog.cpp \
transferfuncdialog.cpp sallenkey.cpp \
mfbfilter.cpp schcauer.cpp qf_poly.cpp qucsactivefilter_.qrc

nodist_qucsactivefilter_SOURCES = $(MOCFILES)

AM_CPPFLAGS = $(X11_INCLUDES) $(QT_CFLAGS)
qucsactivefilter_LDFLAGS = $(X11_LDFLAGS) $(QT_LIBS)
qucsactivefilter_LDADD = $(X11_LIBS) $(QT_LIBS)

noinst_HEADERS = $(MOCHEADERS) qf_matrix.h bessel.h legendre.h \
                 sallenkey.h filter.h mfbfilter.h \
                 schcauer.h qf_poly.h

CLEANFILES = *~ qucsactivefilter_.cpp
MAINTAINERCLEANFILES = Makefile.in *.moc.cpp
DISTCLEANFILES = *.moc.cpp
EXTRA_DIST = $(BITMAPS)

BITMAPS = \
bitmaps/high-pass.svg \
bitmaps/cauer-bandpass.svg \
bitmaps/trfunc.png \
bitmaps/mfb-bandpass.svg \
bitmaps/sk-lowpass.svg \
bitmaps/mfb-lowpass.svg \
bitmaps/bandstop.svg \
bitmaps/big.qucs.xpm \
bitmaps/AFR.svg \
bitmaps/sk-highpass.svg \
bitmaps/mfb-highpass.svg \
bitmaps/cauer.svg \
bitmaps/sk-bandpass.svg \
bitmaps/bandpass.svg
